#include <stdio.h>
int main (){
    float r,h;
    float C1=0;
    float Sa=0;
    float Sb=0;
    float Va=0,Vb=0;
    float PI=3.14f;
    scanf("%f%f",&r,&h);
    C1=2*PI*r;
    Sa=r*r*PI;
    Sb=4*PI*r*r;
    Va=4*PI*r*r*r/3;
    Vb=Sa*h;
    printf("C1=%.2f\n",C1);
    printf("Sa=%.2f\n",Sa);
    printf("Sb=%.2f\n",Sb);
    printf("Va=%.2f\n",Va);
    printf("Vb=%.2f\n",Vb);




return 0;}
